<template>
	<view>
		<view class="userinfo">
			<block>
				<!--u-skeleton-circle 绘制圆形-->
				<image class="userinfo-avatar u-skeleton-circle" src="/static/images/userCenter/person.png">
				</image>
			</block>
		</view>
		<view>
			<u-cell-group>
				<u-cell icon="account-fill" title="姓名:" :value="nickName"></u-cell>
				<u-cell icon="phone-fill" title="电话:" :value="phone"></u-cell>
				<u-cell icon="email-fill" title="邮箱:" :value="email"></u-cell>
			</u-cell-group>
		</view>
	</view>
</template>

<script>
	export default {
		onShow: function() {},
		onPullDownRefresh() {
			uni.stopPullDownRefresh()
		},
		data() {
			return {
				nickName: '路飞',
				phone: '18351888368',
				email: 'lufei@163.com'
			}
		},
		methods: {}
	}
</script>

<style lang="scss">
	.userinfo {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
		height: 100%;
	}

	.userinfo-avatar {
		width: 300rpx;
		height: 300rpx;
		margin: 20rpx;
		border-radius: 50%;
	}
</style>
